package jnpf.htgl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.htgl.model.zcglhtglinfo.ZcglHtjhSkjhVO;
import lombok.Data;

import java.util.Date;
/**
 *
 * 合同收款计划
 * @版本： V3.2.0
 * @版权： 智果云科技（https://www.jnpfsoft.com）
 * @作者： JNPF开发平台组
 * @日期： 2025-01-21
 */
@Data
@TableName("zcgl_htgl_skjh")
public class ZcglHtglSkjhEntity  {
    @TableId("F_ID")
    private String id;

    @TableField("F_CREATORUSERID")
    private String creatoruserid;

    @TableField("F_CREATORTIME")
    private Date creatortime;

    @TableField("F_DESCRIPTION")
    private String description;

    @TableField("F_PARENTID")
    private String parentid;

    @TableField("RELATED_SPACE")
    private String relatedSpace;

    @TableField("EXPENSE_ITEM")
    private String expenseItem;

    @TableField("HS_UNIT_PRICE")
    private String hsUnitPrice;

    @TableField("MONTHLY_RENT")
    private String monthlyRent;

    @TableField("INTERVALL")
    private String intervall;

    @TableField("PAYMENT_DATE")
    private String paymentDate;

    @TableField("INCLUSIVE_AMOUNT")
    private String inclusiveAmount;

    @TableField("EXCLUDING_AMOUNT")
    private String excludingAmount;

    @TableField("TAX_RATE")
    private String taxRate;

    @TableField("SKJH_TYPE")
    private String skjhType;


    public ZcglHtglSkjhEntity(){

    }

    public ZcglHtglSkjhEntity(ZcglHtjhSkjhVO zcglHtjhSkjhVO,String relatedSpace){
        this.relatedSpace = relatedSpace;
        this.expenseItem = zcglHtjhSkjhVO.getExpenseItem();
        this.hsUnitPrice = zcglHtjhSkjhVO.getHsUnitPrice();
        this.monthlyRent = zcglHtjhSkjhVO.getMonthlyRent();
        this.intervall = zcglHtjhSkjhVO.getIntervall();
        this.paymentDate = zcglHtjhSkjhVO.getPaymentDate();
        this.inclusiveAmount = zcglHtjhSkjhVO.getInclusiveAmount();
        this.excludingAmount = zcglHtjhSkjhVO.getExcludingAmount();
        this.taxRate = zcglHtjhSkjhVO.getTaxRate();
    }

}
